const Stack = require('./stack.cjs')
const stack = new Stack()
stack.push('a')
stack.push('6')
stack.push('e')
stack.push('f')
stack.push('z')
stack.push('f')

console.log('Stack size:', stack.size())
console.log('stack:', stack.toString())
console.log('stack is empty:', stack.isEmplty())
console.log('stack top is:', stack.peek())


stack.pop()
console.log('stack:', stack.toString())

stack.clear()
console.log('stack:', stack.toString())
